<table>
    <caption><g:message code="ws.outBound.list" default="Oubound Message"/></caption>
    <thead>
        <tr>
            <th><g:message code="ws.outBound.id" default="OutBound Id"/></th>
            <th><g:message code="ws.outBound.method" default="Method" /></th>
            <th><g:message code="ws.outBound.asynchronous" default="Asynchronous?" /></th>
            <th><g:message code="ws.outBound.status" default="Status" /></th>
            <th><g:message code="ws.outBound.result" default="Result" /></th>
            <th><g:message code="ws.outBound.error" default="Error" /></th>
            <th><g:message code="ws.outBound.jobId" default="Job Id" /></th>
            <th><g:message code="ws.outBound.jobStatus" default="Job Status" /></th>
            <th><g:message code="ws.outBound.jobResult" default="Job Result" /></th>
            <th><g:message code="ws.outBound.jobError" default="Job Error" /></th>
            <th><g:message code="ws.outBound.stage" default="Stage" /></th>
        </tr>
    </thead>
    <tbody>
        <g:each in="${outBoundMessage}" status="i" var="outBoundInstance">
            <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                <td>${fieldValue(bean: outBoundInstance, field: "id")}</td>
                <td>${fieldValue(bean: outBoundInstance, field: "method")}</td>
                <td><g:formatBoolean boolean="${outBoundInstance.asynchronous}" /></td>
                <td>${fieldValue(bean: outBoundInstance, field: "status")}</td>
                <td>${fieldValue(bean: outBoundInstance, field: "result")}</td>
                <td>${fieldValue(bean: outBoundInstance, field: "error")}</td>
                <td>${fieldValue(bean: outBoundInstance, field: "jobId")}</td>
                <td>${fieldValue(bean: outBoundInstance, field: "jobStatus")}</td>
                <td>${fieldValue(bean: outBoundInstance, field: "jobResult")}</td>
                <td>${fieldValue(bean: outBoundInstance, field: "jobError")}</td>
                <td>${fieldValue(bean: outBoundInstance, field: "stage")}</td>
            </tr>
        </g:each>
    </tbody>
</table>
